package com.smashcrush.client.gwt;

import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.DockPanel;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.TextBox;

public class EmbeddedBrowser extends Composite {

	TextBox addressTextBox;
	
	Button goButton;
	
	HTML canvas;
	
	public EmbeddedBrowser() {
		DockPanel dockPanel = new DockPanel();
		
		FlowPanel topPanel = new FlowPanel();
		dockPanel.add(topPanel, DockPanel.NORTH);
		
		addressTextBox = new TextBox();
		topPanel.add(addressTextBox);
		
		goButton = new Button("GO");
		topPanel.add(goButton);

		canvas = new HTML();
		canvas.setSize("300px", "300px");
	}
	
	private void gotoAddress() {
		
	}
	
}
